import request from '@/utils/request'

// 查询试验报告沙坪一级电气列表
export function listSpyjdq(query) {
  return request({
    url: '/sybg/spyjdq/list',
    method: 'get',
    params: query
  })
}

// 查询试验报告沙坪一级电气详细
export function getSpyjdq(sybgSpyjdqId) {
  return request({
    url: '/sybg/spyjdq/' + sybgSpyjdqId,
    method: 'get'
  })
}

// 新增试验报告沙坪一级电气
export function addSpyjdq(data) {
  return request({
    url: '/sybg/spyjdq',
    method: 'post',
    data: data
  })
}

// 修改试验报告沙坪一级电气
export function updateSpyjdq(data) {
  return request({
    url: '/sybg/spyjdq',
    method: 'put',
    data: data
  })
}

// 删除试验报告沙坪一级电气
export function delSpyjdq(sybgSpyjdqId) {
  return request({
    url: '/sybg/spyjdq/' + sybgSpyjdqId,
    method: 'delete'
  })
}
